package cn.tedu.cgb2110boot01;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

//用来标识着这个类，是可以作为springboot快速启动类
@SpringBootApplication
//springboot的要求，才能使用Serivate的类
@ServletComponentScan
public class Cgb2110boot01Application {

    public static void main(String[] args) {
        //启动指定的类--并指定了类的class对象
        SpringApplication.run(Cgb2110boot01Application.class, args);
    }

}
